#!/bin/bash

CURRENT="`xrandr | head -n1 | cut -d',' -f2`"

case "$CURRENT" in
	*1024* )
		SCALE="1.25"
		;;
	*1280* )
		SCALE="1.00"
		;;
esac

xrandr --output LVDS1 --scale $SCALE'x'$SCALE
